import {get, post } from '../http'

const daity = {
    // 查询日常分享列表
    getDaityList(query) {
        return get('/dailySharing/queryList', query)
    },
    // 删除发布的日常分享
    deleteDaity(params) {
        return post('/dailySharing/del', params)
    },
    // 删除评论
    deleteComment(params) {
        return post('/dailySharingComment/del', params)
    },
    // 查询评论列表(针对日常分享的评论)
    getCommentList(query) {
        return get('/dailySharingComment/queryList', query)
    }
}

export default daity